<!--
 * @Author: wangyu1
 * @Date: 2023-12-18 17:05:17
 * @Description: file content
-->
<template>
  <div>
    <el-input v-model="formData.value"></el-input>
  </div>
</template>

<script>
export default {
  props: {
    // 项目基本信息
    data: {
      type: Object,
      default: () => {}
    },
  },
  computed: {
    // 表单信息 - 父子组件传参
    formData: {
      get() {
        return this.data ?? {};
      },
      set(val) {
        val && this.$emit('update:data', val);
      }
    },
  }
}
</script>

<style>

</style>